<template>
  <div class="loading tcenter">
    <img src="./loading.gif" width="100" height="auto">
    <p class="desc">{{title}}</p>
  </div>
</template>

<script>
  export default{
    name:'loading',
    props:{
        title:{
          type:String,
          default:'正在载入...'
        }

    }
  }
</script>
<style scoped>
   .loading{
     width:100%;
   }

  .loading .desc{
    line-height: 20px;
  }

</style>
